import { createApp } from 'vue'
import App from '@/App.vue'

/** 重置样式 */
import 'normalize.css'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'virtual:svg-icons-register'
import gloalComponent from '@/components'

import router from './router'
import pinia from './store'
import './permisstion'

import '@/styles/index.scss'

/** 引入uno.css */
import 'uno.css'

const app = createApp(App)
app.use(ElementPlus, {
  locale: zhCn,
})
app.use(pinia)
app.use(router)
app.use(gloalComponent)
app.mount('#app')
